<?php

  require_once 'JooS/Browser/Abstract.php';

  class JooS_Browser_IE extends JooS_Browser_Abstract {
    protected function getName() {
      return "IE";
    }

    protected function getVersion() {
      $ver = null;

      $ua = $this->getUA();
      if (preg_match_all("/MSIE\s(\d+\.\d)/", $ua, $match)) {
        $ver = $match[1][0];
        if (version_compare('6.0', $ver, '>'))
          $this->throwException($ver);
      }
      return $ver;
    }
  }

?>